# -*- coding: utf-8 -*-
# 生产环境启动脚本
from werkzeug.contrib.fixers import ProxyFix
from flask_babel import Babel
import app


app.create_app('production')
admin = app.app_

babel = Babel(app.app_)

admin.wsgi_app = ProxyFix(admin.wsgi_app)

if __name__ == '__main__':
    admin.run(debug=False, threaded=True)

